Skip to content

Conversation

@Bencheng21
Copy link
Contributor

image

}, nil, nil, nil
}

func (i *invitationResourceType) Delete(ctx context.Context, resourceId *v2.ResourceId) (annotations.Annotations, error) {
Copy link
Contributor Author

@Bencheng21 Bencheng21 Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before deletion
image

After deletion. ./baton-github --delete-resource 65663067 --delete-resource-type invitation
image

}

func userBuilder(client *github.Client, hasSAMLEnabled *bool, graphqlClient *githubv4.Client, orgCache *orgNameCache) *userResourceType {
func (o *userResourceType) Delete(ctx context.Context, resourceId *v2.ResourceId) (annotations.Annotations, error) {
Copy link
Contributor Author

@Bencheng21 Bencheng21 Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before change.
image

After changes ./baton-github --delete-resource 203686556 --delete-resource-type user
image

@Bencheng21 Bencheng21 merged commit 718aed6 into main Jun 20, 2025
2 checks passed
@Bencheng21 Bencheng21 deleted the BB763_account_deprovisioning branch June 20, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants